package com.sde.exception;

import com.sde.Enum.ResponseCodeEnum;
import lombok.extern.slf4j.Slf4j;

@Slf4j
public class BusinessException extends RuntimeException{

    public BusinessException() {
        super();
    }

    public BusinessException(String message) {
        super(message);
    }

    public BusinessException(ResponseCodeEnum responseCodeEnum){
        super(responseCodeEnum.getMessage());
    }
}
